package com.projecy.product.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.projecy.product.model.ProductMaterial;
import com.projecy.product.vo.ProductMaterialVo;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface ProductMaterialMapper extends BaseMapper<ProductMaterial> {


    @Insert("insert into product_material(product_id,did,product_name,register,register_time,check_mark,check_describe) values(#{prid},#{did},#{productName},#{register},#{registerTime},'未审核',#{checkDescribe}) ")
    Boolean insertProductMaterial(ProductMaterialVo productMaterialVo);


}
